<?php
	$tool_buttons = array
	(
		'list_button' => array
		(
			'image'=>'btnListLarge.gif', 
			'text'=>LANG_LIST, 
			'url'=>'/'.$this->name.'/index/'
		),
		'edit_button' => array
		(
			'image'=>'btnEditLarge.gif', 
			'text'=>LANG_EDIT, 
			'url'=>'/'.$this->name.'/edit/'.$this->data[$this->name][id]
		)
	);
	$this->helpers->htmlx->MenuText1(LANG_POSITION.': '.LANG_VIEW, "view.gif");
	$this->helpers->toolbars->Toolbar($tool_buttons);
	echo "<table class='eva'>";
		$this->helpers->htmlx->inputTextRow(LANG_TITLE, 'name', $this->data[$this->name][name], 'disabled="disabled"');
		$this->helpers->htmlx->textAreaRow(LANG_DESCRIPTION, 'description', $this->data[$this->name][description], 'disabled="disabled"');
	echo "</table>";
	
	$this->helpers->html->form('/'.$this->name.'/view/'.$this->data[$this->name][id]);
		echo "<table>";
		echo "<tr><td>";
		$this->helpers->htmlx->submit('execute', LANG_EXECUTE_PROCEDURE, 'class="submit"');
		if ($this->data[done])
		{
			echo " ".LANG_DONE;
		}
		echo "</td></tr></table></form>";
	
?>